﻿<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta name="content-type" content="text/html; charset=UTF-8">
  </head>
  
  <script type="text/javascript">
  $(function() {
	  $.ajax({
		cache: false,
		url:"page/selfCenter/selfCenterRecGoods",
		type: "GET",
		data: new Date().getTime(),
		dataType:"json",
	    success: function(data) {
	    	if (data.length != 0) {
				for (var key in data) {
					var $i = $("#"+key+"");
					$i.attr('src', data[key].mainpic);
					$i.parent().attr('href', "goods/goodsDetail?id=" + data[key].goodsNum);
					var $p = $i.parent().parent();
					$p.next().text(data[key].goodsName);
					$p.next().next().text("￥" + data[key].goodsPrice);
				}	    		
	    	}
	    }
	});
  });
  
  </script>
  
  <!-- <s:set value="#request.recGoodsMap" id="recGoods"/> -->
  <!--为你推荐开始-->
  <div class="tuijian_ad_main">
  	<div class="tuijian_ad_mainad">
        <div class="img">
            <a href='' target="_blank"><img src='' id='0020401'></a>
        </div>
        <div class="content"></div>
        <div class="price">￥</div>
    </div>
    <div class="tuijian_ad_mainad">
        <div class="img">
            <a href='' target="_blank"><img src='' id='0020402'></a>
        </div>
        <div class="content"></div>
        <div class="price">￥</div>
    </div>
    <div class="tuijian_ad_mainad">
        <div class="img">
            <a href='' target="_blank"><img src='' id='0020403'></a>
        </div>
        <div class="content"></div>
        <div class="price">￥</div>
    </div>
    <div class="tuijian_ad_mainad">
        <div class="img">
            <a href='' target="_blank"><img src='' id='0020404'></a>
        </div>
        <div class="content"></div>
        <div class="price">￥</div>
    </div>
    <div class="tuijian_ad_mainad">
        <div class="img">
            <a href='' target="_blank"><img src='' id='0020405'></a>
        </div>
        <div class="content"></div>
        <div class="price">￥</div>
    </div>
</div>
<!--为你推荐结束-->
</html>
